﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="VemTransporte.Views.UsuarioTransporte.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>..:: STI ::..</title>
    <link href="../../Content/Estilo/stylo.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
</head>
<body id="corpo">
    <form id="form1" runat="server">
    <!-- Div Topo Inicio -->
    <div id="topo">
        <asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="~/Default.aspx">
        <div id="logoTopo"></div>
        </asp:HyperLink>
    </div>
    <br />
    <center>
    <label style="font-size: 24px; color:#203360; font-weight:bold;">
        Acesso ao vemtransporte
    </label>
    <br />
    <label style="font-size: 11px; font-family:Verdana; color:#203360;">
        No VemTransporte você pode se conectar e vê a localização exata de seu transporte.
    
        <asp:HyperLink ID="RegisterHyperLink" runat="server" EnableViewState="False" 
            NavigateUrl="~/Views/UsuarioTransporte/Cadastro.aspx" Target="_self">Cadastre-se</asp:HyperLink> &nbsp;se você não tem uma conta.
    </label> 
            <span class="failureNotification">
                <asp:Literal ID="FailureText" runat="server"></asp:Literal>
            </span>
            <asp:ValidationSummary ID="LoginUserValidationSummary" runat="server" CssClass="failureNotification" 
                 ValidationGroup="LoginUserValidationGroup"/>
            <div class="accountInfo">
                
                <fieldset style="width:410px; height:200px;">
                    <legend style="font-size: 14px; font-weight:bold; font-family:Verdana; color:#203360;">
                        Informações da conta
                    </legend>
                        <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="TextBoxEmail" style="font-size: 11px; font-family:Verdana; color:#203360; float:left;">
                        E-mail:</asp:Label>
                    <br />
                        <asp:TextBox ID="TextBoxEmail" runat="server" CssClass="textEntry" 
                            ValidationGroup="LoginUserValidationGroup" Height="30px" BorderColor="#9aafca" 
                                Width="400px" Font-Size="14px"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                            ControlToValidate="TextBoxEmail" CssClass="field-validation-error" 
                            ErrorMessage="E-Mail está inválido!" 
                            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                    <br />
                        <asp:Label ID="PasswordLabel" runat="server" 
                            AssociatedControlID="TextBoxPassword" style="float:left; font-size: 11px; font-family:Verdana; color:#203360;">
                            Senha:</asp:Label>
                    <br />
                        <asp:TextBox ID="TextBoxPassword" runat="server" CssClass="passwordEntry" 
                            TextMode="Password" ValidationGroup="LoginUserValidationGroup" 
                            MaxLength="6" Height="30px" BorderColor="#9aafca" 
                                Width="400px" Font-Size="14px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="TextBoxPassword" 
                             CssClass="failureNotification" ErrorMessage="Password is required." ToolTip="Senha é obrigatória." 
                             ValidationGroup="LoginUserValidationGroup">*</asp:RequiredFieldValidator>
                    <br />
                        <asp:CheckBox ID="RememberMe" runat="server"  />
                        <asp:Label ID="RememberMeLabel" runat="server" AssociatedControlID="RememberMe" CssClass="inline"
                        style="font-size: 11px; font-family:Verdana; color:#203360;">Manter logado</asp:Label>
                    
                    <asp:Button ID="LoginButton" runat="server" BackColor="#6ea954" BorderColor="#6ea954"
                                ForeColor="White" Height="30px" Width="100px" CommandName="Login" Text="Entrar" 
                        ValidationGroup="LoginUserValidationGroup" onclick="LoginButton_Click" 
                        style="height:30px; float:right;"/>
                    
                </fieldset>
                
            </div>
            </center>
    </form>
</body>
</html>
